Test of fear conditioning